//
//  Device.h
//  Shion
//
//  Created by Chris Karr on 12/17/07.
//  Copyright 2007-2008 Audacious Software. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "DeviceStatus.h"

#define INSTEON_APPLIANCE_LINC @"Insteon device: ApplicanceLinc";
#define SHION_DEVICE_UPDATE @"Shion: Device Updated";

@interface Device : NSObject 
{
	NSData * address;
	NSString * name;
	NSString * kind;

	DeviceStatus * actualStatus;
	DeviceStatus * todoStatus;
	DeviceStatus * visibleStatus;

	BOOL dimmer;
}

@property(copy) NSString * name;
@property(copy) NSString * kind;
@property(copy) NSData * address;
@property(assign) BOOL dimmer;
@property(copy) NSString * addressString;

@property(retain) DeviceStatus * actualStatus;
@property(retain) DeviceStatus * todoStatus;
@property(retain) DeviceStatus * visibleStatus;

- (void) pingStatus;

@end
